﻿<controls:MetroWindow x:Class="WpfApplication1.BedrijvenToevoegen"
       xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:controls="clr-namespace:MahApps.Metro.Controls;assembly=MahApps.Metro"
        Title="Bedrijven" Height="613.868" Width="573.662" WindowTitleBrush="{DynamicResource {x:Static SystemColors.ActiveCaptionBrushKey}}" TitleForeground="{DynamicResource {x:Static SystemColors.ControlLightLightBrushKey}}">
    <controls:MetroWindow.Resources>
        <Style x:Key="Gridview" TargetType="{x:Type Grid}"/>
    </controls:MetroWindow.Resources>
    <Grid Background="{DynamicResource {x:Static SystemColors.ActiveBorderBrushKey}}">
        <TabControl HorizontalAlignment="Left" Height="47" Margin="10,20,0,0" VerticalAlignment="Top" Width="546">
            <TabItem Header="Home">
                <Grid Background="{DynamicResource {x:Static SystemColors.ActiveBorderBrushKey}}" Margin="3,-59,-6,-473.2"/>
            </TabItem>
            <TabItem Header="Toevoegen">
                <Grid Background="{DynamicResource {x:Static SystemColors.ActiveBorderBrushKey}}" Margin="3,-59,-6,-473.2">
                    <Button x:Name="btnToevoegen" Content="Toevoegen" HorizontalAlignment="Left" Margin="412,498,0,0" VerticalAlignment="Top" Width="75" Background="{DynamicResource {x:Static SystemColors.ActiveCaptionBrushKey}}" BorderBrush="White" Foreground="White" OpacityMask="Black" Click="btnToevoegen_Click"/>
                    <Label Content="Bedrijf" HorizontalAlignment="Left" Margin="284,73,0,0" VerticalAlignment="Top" BorderBrush="{DynamicResource {x:Static SystemColors.ControlLightBrushKey}}" Foreground="White" Width="109"/>
                    <Label Content="Straat" HorizontalAlignment="Left" Margin="284,231,0,0" VerticalAlignment="Top" Foreground="White" Width="91"/>
                    <TextBox x:Name="txtBedrijf" HorizontalAlignment="Left" Height="23" Margin="412,73,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="120" TabIndex="1"/>
                    <Label Content="Postcode" HorizontalAlignment="Left" Margin="284,262,0,0" VerticalAlignment="Top" Foreground="White" Width="109"/>
                    <Label Content="Gemeente" HorizontalAlignment="Left" Margin="284,293,0,0" VerticalAlignment="Top" Foreground="White" Width="109"/>
                    <TextBox x:Name="txtStraat" HorizontalAlignment="Left" Height="23" Margin="412,230,0,0" TextWrapping="Wrap"  VerticalAlignment="Top" Width="120" TabIndex="6"/>
                    <TextBox x:Name="txtPlaats" HorizontalAlignment="Left" Height="23" Margin="412,292,0,0" TextWrapping="Wrap"  VerticalAlignment="Top" Width="120" TabIndex="8"/>
                    <Label Content="Land" HorizontalAlignment="Left" Margin="284,324,0,0" VerticalAlignment="Top" Foreground="White" Width="109"/>
                    <Label Content="Email" HorizontalAlignment="Left" Margin="284,355,0,0" VerticalAlignment="Top" Foreground="White" Width="109"/>
                    <Label Content="Telefoon" HorizontalAlignment="Left" Margin="284,386,0,0" VerticalAlignment="Top" Foreground="White" Width="109"/>
                    <TextBox x:Name="txtLand" HorizontalAlignment="Left" Height="23" Margin="412,324,0,0" TextWrapping="Wrap"  VerticalAlignment="Top" Width="120" TabIndex="9"/>
                    <TextBox x:Name="txtEmail" HorizontalAlignment="Left" Height="23" Margin="412,355,0,0" TextWrapping="Wrap"  VerticalAlignment="Top" Width="120" TabIndex="10"/>
                    <TextBox x:Name="txtTelefoon" HorizontalAlignment="Left" Height="23" Margin="412,386,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="120" TabIndex="11"/>
                    <Label Content="Passwoord" HorizontalAlignment="Left" Margin="284,104,0,0" VerticalAlignment="Top" BorderBrush="{DynamicResource {x:Static SystemColors.ControlLightBrushKey}}" Foreground="White" Width="109"/>
                    <Label Content="Passwoord" HorizontalAlignment="Left" Margin="284,135,0,0" VerticalAlignment="Top" BorderBrush="{DynamicResource {x:Static SystemColors.ControlLightBrushKey}}" Foreground="White" Width="109"/>
                    <TextBox x:Name="txtPostcode" HorizontalAlignment="Left" Height="23" Margin="412,261,0,0" TextWrapping="Wrap"  VerticalAlignment="Top" Width="120" TabIndex="7"/>
                    <PasswordBox x:Name="txtPassword" HorizontalAlignment="Left" Margin="412,104,0,0" VerticalAlignment="Top" Width="120" TabIndex="2"/>
                    <PasswordBox x:Name="txtConfirmPw" HorizontalAlignment="Left" Margin="412,135,0,0" VerticalAlignment="Top" Width="120" TabIndex="3"/>
                    <ComboBox x:Name="cmbRoles" HorizontalAlignment="Left" Margin="412,448,0,0" VerticalAlignment="Top" Width="120"/>
                    <Label Content="Rol" HorizontalAlignment="Left" Margin="284,456,0,0" VerticalAlignment="Top" Foreground="White" Width="109"/>
                    <Label Content="Beveiligingsvraag" HorizontalAlignment="Left" Margin="284,166,0,0" VerticalAlignment="Top" BorderBrush="{DynamicResource {x:Static SystemColors.ControlLightBrushKey}}" Foreground="White" Width="109"/>
                    <Label Content="Antwoord" HorizontalAlignment="Left" Margin="284,197,0,0" VerticalAlignment="Top" BorderBrush="{DynamicResource {x:Static SystemColors.ControlLightBrushKey}}" Foreground="White" Width="109"/>
                    <PasswordBox x:Name="txtAntwoord" HorizontalAlignment="Left" Margin="412,197,0,0" VerticalAlignment="Top" Width="120" TabIndex="5"/>
                    <TextBox x:Name="txtVraag" HorizontalAlignment="Left" Height="23" Margin="412,166,0,0" TextWrapping="Wrap"  VerticalAlignment="Top" Width="120" TabIndex="4"/>
                    <TextBox x:Name="txtMedewerkers" HorizontalAlignment="Left" Height="23" Margin="412,417,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="120" TabIndex="11"/>
                    <Label Content="Medewerkers" HorizontalAlignment="Left" Margin="284,418,0,0" VerticalAlignment="Top" Foreground="White" Width="109"/>
                </Grid>
            </TabItem>
            <TabItem Header="Wijzigen/Verwijderen">
                <Grid Background="{DynamicResource {x:Static SystemColors.ActiveBorderBrushKey}}" Margin="3,-59,-6,-473.2">
                    <Button x:Name="btnEdit" Content="Wijzigen" HorizontalAlignment="Left" Margin="388,332,0,0" VerticalAlignment="Top" Width="75" Background="{DynamicResource {x:Static SystemColors.ActiveCaptionBrushKey}}" BorderBrush="White" Foreground="White" OpacityMask="Black" Click="btnEdit_Click" RenderTransformOrigin="0.613,-5.156"/>
                    <Label Content="Bedrijven" HorizontalAlignment="Left" Margin="10,65,0,0" VerticalAlignment="Top" BorderBrush="{DynamicResource {x:Static SystemColors.ControlLightBrushKey}}" Foreground="White" Width="109"/>
                    <Label Content="Straat" HorizontalAlignment="Left" Margin="285,105,0,0" VerticalAlignment="Top" Foreground="White" Width="91"/>
                    <Label Content="Postcode" HorizontalAlignment="Left" Margin="285,136,0,0" VerticalAlignment="Top" Foreground="White" Width="109"/>
                    <Label Content="Gemeente" HorizontalAlignment="Left" Margin="285,167,0,0" VerticalAlignment="Top" Foreground="White" Width="109"/>
                    <TextBox x:Name="txtEditStraat" HorizontalAlignment="Left" Height="23" Margin="413,104,0,0" TextWrapping="Wrap"  VerticalAlignment="Top" Width="120" TabIndex="6"/>
                    <TextBox x:Name="txtEditPlaats" HorizontalAlignment="Left" Height="23" Margin="413,166,0,0" TextWrapping="Wrap"  VerticalAlignment="Top" Width="120" TabIndex="8"/>
                    <Label Content="Land" HorizontalAlignment="Left" Margin="285,198,0,0" VerticalAlignment="Top" Foreground="White" Width="109"/>
                    <Label Content="Email" HorizontalAlignment="Left" Margin="285,229,0,0" VerticalAlignment="Top" Foreground="White" Width="109"/>
                    <Label Content="Telefoon" HorizontalAlignment="Left" Margin="285,260,0,0" VerticalAlignment="Top" Foreground="White" Width="109"/>
                    <TextBox x:Name="txtEditLand" HorizontalAlignment="Left" Height="23" Margin="413,198,0,0" TextWrapping="Wrap"  VerticalAlignment="Top" Width="120" TabIndex="9"/>
                    <TextBox x:Name="txtEditEmail" HorizontalAlignment="Left" Height="23" Margin="413,229,0,0" TextWrapping="Wrap"  VerticalAlignment="Top" Width="120" TabIndex="10"/>
                    <TextBox x:Name="txtEditTelefoon" HorizontalAlignment="Left" Height="23" Margin="413,260,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="120" TabIndex="11"/>
                    <TextBox x:Name="txtEditPostcode" HorizontalAlignment="Left" Height="23" Margin="413,135,0,0" TextWrapping="Wrap"  VerticalAlignment="Top" Width="120" TabIndex="7"/>
                    <TextBox x:Name="txtEditMedewerkers" HorizontalAlignment="Left" Height="23" Margin="413,291,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="120" TabIndex="11"/>
                    <Label Content="Medewerkers" HorizontalAlignment="Left" Margin="285,292,0,0" VerticalAlignment="Top" Foreground="White" Width="109"/>
                    <ListBox x:Name="lstBedrijven" HorizontalAlignment="Left" Height="335" Margin="10,91,0,0" VerticalAlignment="Top" Width="188" SelectionChanged="lstBedrijven_SelectionChanged"/>
                    <Button x:Name="btnVerwijderen" Content="Verwijder" HorizontalAlignment="Left" Margin="468,332,0,0" VerticalAlignment="Top" Width="75" Background="{DynamicResource {x:Static SystemColors.ActiveCaptionBrushKey}}" BorderBrush="White" Foreground="White" OpacityMask="Black" Click="btnVerwijder_Click" RenderTransformOrigin="0.613,-5.156"/>
                </Grid>
            </TabItem>
        </TabControl>
    </Grid>
</controls:MetroWindow>
